<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>资源菜单管理</title>
		<script type="text/javascript" src="../components/drag-drop-folder-tree/js/context-menu.js"></script>
		<script type="text/javascript" src="../components/drag-drop-folder-tree/js/drag-drop-folder-tree.js"></script>
		<script type="text/javascript" src="../js/menuresource.js"></script>
		<script type="text/javascript" src="../js/zjpii_common.js"></script>
		<script type="text/javascript" src="../js/acl_util.js"></script>
		<script type='text/javascript' src='../../dwr/engine.js'></script>
		<script type='text/javascript' src='../../dwr/util.js'></script>
		<script type='text/javascript' src='../../dwr/interface/ConfigAction.js'></script>
		<link rel="stylesheet" href="../components/drag-drop-folder-tree/css/drag-drop-folder-tree.css" type="text/css"></link>
		<link rel="stylesheet" href="../components/drag-drop-folder-tree/css/context-menu.css" type="text/css"></link>
		<link href="../themes/default/css/config.css" rel="stylesheet" type="text/css">	
	</head>
	<body onload="pageInit('0');" >
	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" >
		<tr >
			<td valign="top" height="100%">
				<!--left begin-->
				<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
					<tr>
						<td height="100%">
							<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="table">
								<tr>
									<th  align="left"><h3><img src="../themes/default/images/Contacts.gif" width="16" height="16">菜单资源管理</h3></th>
								</tr>
								<tr>
								  <td>
								  &nbsp;&nbsp;<img src="../themes/default/images/shou.gif" width="15" height="14" /><a href="javascript:treeObj.collapseAll();">收缩</a>
								  &nbsp;&nbsp;<img src="../themes/default/images/shou2.gif" width="16" height="16" /><a href="javascript:treeObj.expandAll();" >展开</a>
								  </td>
								</tr>
								<tr>
									<td height ="90%">
										<div id="category_tree" style="FONT-SIZE: 13px; OVERFLOW: auto; WIDTH: 300px; HEIGHT:100%"></div>
									</td>
								</tr>
								<tr>
								  <td>&nbsp;</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<!--left end-->
			</td>
			<td valign="top" align="left" width="100%" height="100%">
				<div id="div_menue_detail"></div>
			</td>
		</tr>
	</table>
<!--next html is hidden -->

<div id="div_menuresource_op" style="display:none">
	<!-- button begin -->
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td style="padding-bottom: 2px;" id="op_button">
				<input title="Save [Alt+S]" accessKey="S" class="button"  onclick="return saveMenuresource();" type="button" name="add" value="  保存  " > 
				<input title="Close [Alt+C]" accessKey="C" class="button" onclick="setMenuresourcedetail('');" type="button" name="cencel" value="  关闭  "></td>
			<td align="right" nowrap><span class="required">*</span> 必需</td>
			<td align='right'></td>
		</tr>
	</table>
	<!-- button end -->
	<!-- op_html begin -->
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
					<tr>
						<th align="left" colspan="4"><h3 id="menuop_title"><img src="../themes/default/images/Contacts.gif" width="16" height="16">添加菜单资源</h3></th>
					</tr>
					<tr>
						<td  width='15%'>名称:</td>
						<td  width='35%'><input type="text" name="menuname" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"> <span class="required">*</span></td>
						<td  width='15%'>上级菜单:</td>
						<td><input type="text" name="pname" class="iptRead" readOnly size="25"></td>
					</tr>
					<tr>
						<td>菜单类型:</td>
						<td>
							<select name="menutype" class="input" onblur="this.className='pass';" onfocus="this.className='lave';">
					          <option value="0">请选择</option>
					          <option value="1">一级菜单</option>
				  	          <option value="2">二级菜单</option>
					          <option value="3">三级菜单</option>
		          			</select> <span class="required">*</span>
	          			</td>
						<td>菜单序号:</td>
						<td><input type="text" name="menuorder" value="0" class="input" onblur="this.className='pass';" onfocus="this.className='lave';"  size="25"> <span class="required">*</span></td>
					</tr>
					<tr>
						<td>菜单图片路径:</td>
						<td><input type="text" name="imagepath" class="input" onblur="this.className='pass';" onfocus="this.className='lave';"  size="25"></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td>URL:</td>
						<td><textarea type="text" name="url" cols="42" rows="4" class="input" onblur="this.className='pass';" onfocus="this.className='lave';"></textarea></td>
						<td>备注:</td>
						<td><textarea type="text" name="remark" cols="42" rows="4" class="input" onblur="this.className='pass';" onfocus="this.className='lave';"></textarea></td>
					</tr>
					<tr>
					</tr>
					<tr>
					  <td >&nbsp;</td>
					  <td >
					  	<input type="hidden" name="id">
	          			<input type="hidden" name="parentid">
					  </td>
					  <td >&nbsp;</td>
					  <td >&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<!-- op_html end -->
</div>	

<!-- edit detail -->
<div id="div_hidden_edit" style="display:none">
	<input title="Save [Alt+S]" accessKey="S" class="button"  onclick="return saveMenuresource();" type="button" name="edit" value="  保存  " > 
	<input title="Cancel [Alt+C]" accessKey="C" class="button" onclick="setMenuresourceDetailHtml();" type="button" name="cencel" value="  取消  ">
</div>
<div id="div_hidden_detail" style="display:none">
	<input title="Edit [Alt+E]" accessKey="E" class="button"  onclick="setMenuresourceEditHtml();" type="button" name="edit" value="  编辑  " > 
	<input title="Close [Alt+C]" accessKey="C" class="button" onclick="setMenuresourcedetail('');" type="button" name="cencel" value="  关闭  ">
</div>


	</body>
</html>

